
//播放数字四舍五入
const numFormate = function(value) {
    if(value/100000000>1){
        return `${Math.round(value/100000000)}亿`
    }else if(value/10000>1){
        return `${Math.round(value/10000)}万`
    }else{
        return value
    }
}


export default {
    numFormate
}